<div class="forgot-success">
    <i class="icon icon-success">%</i>
    新密码已经设置成功， <a class="goto-signin" href="#">点此登录</a>
</div>
<script>
    jQuery(".goto-signin").click(function () {
        jQuery("#navlogin").click();
    });
</script>